<template>
	<div class="success">
		<van-icon name="checked" size="200rem" /><br />
		提交成功<br />
		<span class="tip">客户经理将会与您联系，请您耐心等待</span>
	</div>
</template>

<script>
export default {
	data() {
		return {
			second: 10
		}
	},
	computed: {
		disabled() {
			return this.second > 0
		}
	},
	mounted() {
		const secondTimer = setInterval(() => {
			this.second--
			if (this.second == 0) clearInterval(secondTimer)
		}, 1000)
	},
	methods: {
		toHome() {
			this.$router.push({ name: 'home' })
		}
	},
	components: {}
}
</script>

<style lang="scss" scoped="scoped">
.success {
	text-align: center;
	color: #fff;
	font-size: $font_large_x;
	line-height: 1.6;

	.tip {
		font-size: $font_medium_x;
	}
}
</style>
